package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TBaseRegionMapper;
import com.baox.agridata.synchronous.service.shanxi.TBaseRegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class TBaseRegionServiceImpl implements TBaseRegionService {

    @Autowired
    private TBaseRegionMapper tBaseRegionMapper;


    @Override
    public Integer selectCountBySixRegionCode(String regionCode, String RI1) {
        return tBaseRegionMapper.selectCountBySixRegionCode(regionCode, RI1);
    }

    @Override
    public Map selectRegionInfoByRegionCodeForAnimalAndProduct(String regionCode) {
        return tBaseRegionMapper.selectRegionInfoByRegionCodeForAnimalAndProduct(regionCode);
    }

    @Override
    public Map selectRegionInfoByRegionCode(String regionCode) {
        return tBaseRegionMapper.selectRegionInfoByRegionCode(regionCode);
    }
}
